package com.ylyq.ylxx.model.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName OceanengineGetTetrisSite
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/7/27 18:06
 * @Version 1.0
 */
@NoArgsConstructor
@Data
@ApiModel(value = "获取橙子建站站点列表的返回参数")
public class OceanengineGetTetrisSite {
    private String message;
    private int code;
    private DataBean data;
    private String request_id;

    @NoArgsConstructor
    @Data
    @ApiModel(value = "获取橙子建站站点列表的返回参数实体")
    public static class DataBean {

        /**
         * audience_package_id : 144
         */
        private OceanengineGetProceduralPackagePageBean page_info;
        private List<OceanengineGetProceduralPackageListBean> list;
        @NoArgsConstructor
        @Data
        @ApiModel(value = "获取橙子建站站点列表的返回参数实体-分页")
        public static class OceanengineGetProceduralPackagePageBean {
            @ApiModelProperty(value = "\t页数")
            private Long page;
            @ApiModelProperty(value = "\t页面大小")
            private Long page_size;
            @ApiModelProperty(value = "总数")
            private String total_number;
            @ApiModelProperty(value = "总页数")
            private Long total_page;
        }
        @NoArgsConstructor
        @Data
        @ApiModel(value = "获取橙子建站站点列表的返回参数实体-集合")
        public static class OceanengineGetProceduralPackageListBean {
            @ApiModelProperty(value = "建站id,如要获取落地页投放地址，则在前面拼接https://www.chengzijianzhan.com/tetris/page/")
            private String siteId;
            @ApiModelProperty(value = "建站名称")
            private String name;
            @ApiModelProperty(value = "建站状态，详见附录【建站状态】")
            private String status;
            @ApiModelProperty(value = "建站类型，详见附录【建站类型】")
            private String siteType;
            @ApiModelProperty(value = "建站类别，SITE_FUNC_TYPE_NEW_MODULAR（智能建站）、SITE_FUNC_TYPE_NORMAL（普通建站）")
            private String function_type;
            @ApiModelProperty(value = "站点缩略图")
            private String thumbnail;
        }
    }
}
